package com.yh.homestay.pojo;


import javax.persistence.Id;
import java.io.Serializable;

public class CapitalGoods implements Serializable {

    @Id
    private Integer goodsId;

    private String goodsNumber;

    private String goodsName;

    private Double goodsPrice;

    private String goodsBuyDate;

    private Integer goodsUseMonth;

    private Double goodsBreakageRate;

    private Integer goodsType;

    private String goodsArea;

    public Integer getGoodsId() {
        return goodsId;
    }

    public void setGoodsId(Integer goodsId) {
        this.goodsId = goodsId;
    }

    public String getGoodsNumber() {
        return goodsNumber;
    }

    public void setGoodsNumber(String goodsNumber) {
        this.goodsNumber = goodsNumber == null ? null : goodsNumber.trim();
    }

    public String getGoodsName() {
        return goodsName;
    }

    public void setGoodsName(String goodsName) {
        this.goodsName = goodsName == null ? null : goodsName.trim();
    }

    public Double getGoodsPrice() {
        return goodsPrice;
    }

    public void setGoodsPrice(Double goodsPrice) {
        this.goodsPrice = goodsPrice;
    }

    public String getGoodsBuyDate() {
        return goodsBuyDate;
    }

    public void setGoodsBuyDate(String goodsBuyDate) {
        this.goodsBuyDate = goodsBuyDate;
    }

    public Integer getGoodsUseMonth() {
        return goodsUseMonth;
    }

    public void setGoodsUseMonth(Integer goodsUseMonth) {
        this.goodsUseMonth = goodsUseMonth;
    }

    public Double getGoodsBreakageRate() {
        return goodsBreakageRate;
    }

    public void setGoodsBreakageRate(Double goodsBreakageRate) {
        this.goodsBreakageRate = goodsBreakageRate;
    }

    public Integer getGoodsType() {
        return goodsType;
    }

    public void setGoodsType(Integer goodsType) {
        this.goodsType = goodsType;
    }

    public String getGoodsArea() {
        return goodsArea;
    }

    public void setGoodsArea(String goodsArea) {
        this.goodsArea = goodsArea == null ? null : goodsArea.trim();
    }
}